#ifndef WEBPAGE_H
#define WEBPAGE_H

#include <QWebEnginePage>
#include <QWebEngineProfile>
#include <QWidget>

class WebPage : public QWebEnginePage
{
    Q_OBJECT
public:
    WebPage(QWebEngineProfile *profile, QWidget *parent);

    bool certificateError(const QWebEngineCertificateError &certificateError) override;

signals:
    void certificateErrorSignal();

private:
};

#endif // WEBPAGE_H
